From: Jasper St. Pierre Date: Mon, 26 Aug 2013 22:09:44 +0000 (-0400) Subject: loginDialog: Remove useless style class manipulation X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3613 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=48b7ebe1c06ab6fa38ee063e31663ff0515e34d9;p=gnome-shell.git loginDialog: Remove useless style class manipulation StWidget already does this for us. --- diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index d1f3db342..9c1e7ebf5 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -102,11 +102,6 @@ const UserListItem = new Lang.Class({ syncStyleClasses: function() { this._updateLoggedIn(); - - if (global.stage.get_key_focus() == this.actor) - this.actor.add_style_pseudo_class('focus'); - else - this.actor.remove_style_pseudo_class('focus'); }, _updateLoggedIn: function() {